#ifndef SHAPEWIDGET_H
#define SHAPEWIDGET_H


#include "Shape.h"
#include <QWidget>
#include <QPixmap>

class ShapeWidget: public QWidget
{
public:
    ShapeWidget(QWidget *parent);
	ShapeWidget(const Shape& shape, QWidget *parent);
    virtual ~ShapeWidget();

	const QPixmap& GetPixmap() const;

protected:
	void SetPixmap(QPixmap& newPixmap);

private:
	QPixmap pixmap;
};

#endif // SHAPEWIDGET_H
